<?php
class Zend_View_Helper_ListSlideTop
{
	public function listSlideTop($data,$view)
	{
		$str="";
		if(empty($data))
			return;
		$str.="
			<div class='slideLeft'>		
				<div id='featured'>		
		";		
		foreach($data as $row)
		{
			$count=1;
	
			$str.="<div id='fragment-$count' class='ui-tabs-panel' style=''>
					<img src='$view->baseUrl/public/images/upload/$row[url]' alt='' />
					<div class=info'>
					<h2><a href='#' >15+ Excellent High Speed Photographs</a></h2>
					<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla tincidunt condimentum lacus. Pellentesque ut diam....<a href='#' >read more</a></p>
					</div>
				</div>";
			$count++;
		}		
				
			$str.="<ul >";
			foreach ($data as $row)
				{	
					$dem=1;
				
					$str.="<li id=nav-fragment-$dem' >
							<a href='#fragment-1' class='list_number'>
							&nbsp;
							</a>
							</li>";
					$dem++;
				}
				$str.="
					</ul>
					</div>
			
			</div>
				";
				
				echo $str;
	}
}